package com.hw.entity.dto.task;

import com.fasterxml.jackson.annotation.JsonFormat;
import io.swagger.annotations.ApiModelProperty;
import lombok.Data;
import org.springframework.format.annotation.DateTimeFormat;

import java.time.LocalDateTime;

/**
 * 时间修改VO
 * @author Xg
 * @date 2021/6/30 20:09
 */
@Data
public class TaskTimeDTO {

    /**
     * 结束时间
     */
    @ApiModelProperty(value = "结束时间")
    @DateTimeFormat(pattern="yyyy-MM-dd HH:mm:ss")
    private LocalDateTime endTime;

    /**
     * 订单id
     */
    @ApiModelProperty(value = "订单id")
    private String taskId;

 }
